using System;
using System.Net;
using System.Text;

namespace Storage.Core
{
	internal interface IBinaryDeserializer
	{
		Int16 ReadInt16();
		Int32 ReadInt32();
		Int64 ReadInt64();
		UInt16 ReadUInt16();
		UInt32 ReadUInt32();
		UInt64 ReadUInt64();
		float ReadFloat();
		double ReadDouble();
		bool ReadBool();
		byte ReadByte();
		byte[] ReadByteArray();
		string ReadString();
		string ReadString(Encoding encoding);
		Guid ReadGuid();
		IPAddress ReadIPAddress();
		IPEndPoint ReadIPEndPoint();
		TimeSpan ReadTimeSpan();
		DateTime ReadDateTime();
	}
}